﻿<%@ control language="C#" autoeventwireup="true" inherits="Admin_Controls_Mod_Contact_ContactList, App_Web_2r003e1a" %>
<%@ Register src="../General/ToolbarBox.ascx" tagname="ToolbarBox" tagprefix="uc1" %>
<style type="text/css">
    #isNew
    {
      text-decoration:none;
      font-weight: bold;
      font-size:1.2em;
    }
    #isOld
    {
      text-decoration:none;
      font-weight: none;
      
      
    }
</style>
<uc1:ToolbarBox ID="ToolbarBox1" runat="server" />
<asp:DropDownList ID="ddlPages" runat="server">
</asp:DropDownList>
  <asp:Repeater   id="rptItems" runat="server" >  
        <HeaderTemplate>
    <table border="0" width="100%" class="adminlist">
    
                <thead>
                    <tr>
                        <th width="5%">
                           #
                        </th>
                        <th width="5%">
                           #ID
                        </th>
                        <th width="30%">
                            Title
                        </th>
                        <th width="5%">
                            Action
                        </th>
                       
                    </tr>
                </thead>
   </HeaderTemplate>
    <ItemTemplate>
          <tr>
                 <td align="center">
                     <asp:CheckBox ID="CheckBox1" runat="server" />
                  </td>
                 <td align="center">
                 <%#Eval("ContactId") %>
                  </td>
                 <td align="left" >
                 
                      <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("ContactId",""+DoView("{0}")) %>' >
                            <span id='<%#Eval("IsRead").ToString()== "True" ?"isOld":"isNew" %>'>  <%#Eval("Title")%></span>
                      </asp:HyperLink>
                 
                 </td>
              
                             
            
                <td align="center" width="8%">
               
                      <asp:ImageButton ID="bt_delete"  AlternateText="Delete" CommandName="deletepaper" OnClientClick="javascript:return confirm('Are you sure?');" CommandArgument='<%#Eval("ContactId") %>' ImageUrl="~/Admin/Theme/Images/pms-delete.gif" runat="server" />  
                </td>
             
            </tr>
        </ItemTemplate>
    <FooterTemplate>
              </table>
              
     </FooterTemplate>

</asp:Repeater>
            
        
        
        

            
        
<script type="text/javascript">

    $(function() {
    $("table.adminlist tr:nth-child(even)").addClass("row1");
    $("table.adminlist tr:nth-child(odd)").addClass("row0");
    });

</script>
        